E (Euler's Constant)

This property is used to return the value of Euler's Constant, which is 2.718281828459045. As with all math properties, it is stated with the Math object.

syntax:

Math.E

EXAMPLE

variableOne = Math.E;

document.write("The value of Euler's Constant is " + variableOne);

The above example will write the line "The value of Euler's Constant is 2.718281828459045" to the screen.